package com.xnx3.wangmarket.admin.service;

import com.xnx3.wangmarket.admin.entity.EmpiricalConclusion;
import com.xnx3.wangmarket.admin.entity.Page;
import com.xnx3.wangmarket.admin.entity.SiteColumn;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface EmpiricalConclusionService {

    /***
     * 新增，修改结论信息
     * **/
    public void updateEmpirical(EmpiricalConclusion empiricalConclusion, int userid, HttpServletRequest request);
    /***
     * 获取到结论大类
     * **/
    public List<SiteColumn> empiricalType(int userid);
    /***
     * 获取到结论大类
     * **/
    public SiteColumn pctType(int id);
    /***
     * 获取结论的详细信息
     * **/
    public List<EmpiricalConclusion> queryEmpiricalList(int userid);
    public EmpiricalConclusion queryEmpirical(int id);
    /**
     * 删除结论
     * **/
    public void delEmpirical(EmpiricalConclusion empiricalConclusion);

    /**
     * 结论分页
     * ***/
    List<EmpiricalConclusion> empiricalListPage(int page, int count , int userid, EmpiricalConclusion empiricalConclusion);
    /***
     * 总数
     * */
    int empiricalCount( int userid);

    Page findPage(int page, int count, EmpiricalConclusion empiricalConclusion);
}
